function P =equaldist(n)
for i=1:n
P(i)=1/n;
end
end